Offline Region Manager Interface
The `offline region manager` that manages offline packs. All of the class’s instance methods are asynchronous reflecting the fact that offline resources are stored in a database. The offline manager maintains a canonical collection of offline packs.
Functions
createOfflineRegion
Link copied to clipboard
abstract fun createOfflineRegion(@NonNull() geometryDefinition: OfflineRegionGeometryDefinition, @NonNull() callback: OfflineRegionCreateCallback)
Content copied to clipboard
abstract fun createOfflineRegion(@NonNull() tilePyramidDefinition: OfflineRegionTilePyramidDefinition, @NonNull() callback: OfflineRegionCreateCallback)
Content copied to clipboard
getOfflineRegions
Link copied to clipboard
abstract fun getOfflineRegions(@NonNull() callback: OfflineRegionCallback)
Content copied to clipboard
mergeOfflineDatabase
Link copied to clipboard
abstract fun mergeOfflineDatabase(@NonNull() filePath: String, @NonNull() callback: OfflineDatabaseMergeCallback)
Content copied to clipboard
setOfflineMapboxTileCountLimit
Link copied to clipboard
Sets the maximum number of Mapbox-hosted tiles that may be downloaded and stored on the current device.By default, the limit is set to 6,000.Once this limit is reached, `OfflineRegionObserver.mapboxTileCountLimitExceeded()`fires every additional attempt to download additional tiles until already downloaded tiles are removedby calling `OfflineRegion.purge()` API.
Inheritors
OfflineRegionManager
Link copied to clipboard